//
//  JSGraintCircleLayer.h
//  JSBasicFramework
//
//  Created by Apple on 2018/9/3.
//  Copyright © 2018年 Apple. All rights reserved.
//  LSGraintCircleLayer 这里粘贴的别人的代码 为保证代码的统一性 所以改了下名字 感谢作者分享
//  https://github.com/lsmakethebest/LSProgressHud

#import <QuartzCore/QuartzCore.h>

@interface JSGraintCircleLayer : CALayer

-(instancetype)initGraintCircleWithBounds:(CGRect)bounds
                                 Position:(CGPoint)position
                                FromColor:(UIColor *)fromColor
                                  ToColor:(UIColor *)toColor
                                LineWidth:(CGFloat) linewidth;
+(instancetype)layerWithWithBounds:(CGRect)bounds
                          Position:(CGPoint)position
                         FromColor:(UIColor *)fromColor
                           ToColor:(UIColor *)toColor
                         LineWidth:(CGFloat) linewidth;
@end
